﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp2
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 金
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button1_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            GoldForm goldForm = new GoldForm();
            goldForm.Show();
        }
        /// <summary>
        /// 木
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button2_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            WoodForm woodForm = new WoodForm();
            woodForm.Show();
        }
        /// <summary>
        /// 水
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button3_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            WaterForm waterForm = new WaterForm();
            waterForm.Show();
        }
        /// <summary>
        /// 火
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button4_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            FireForm fireForm = new FireForm();
            fireForm.Show();
        }
        /// <summary>
        /// 土
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button5_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            SoilForm soilForm = new SoilForm();
            soilForm.Show();
        }
        /// <summary>
        /// 风
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button6_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            WindForm windForm = new WindForm();
            windForm.Show();
        }
        /// <summary>
        /// 雷
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button8_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            ThunderForm thunderForm = new ThunderForm();
            thunderForm.Show();
        }
        /// <summary>
        /// 电
        /// </summary>
        /// <param name="sender"></param>
        /// <param name="e"></param>
        private void button7_Click(object sender, EventArgs e)
        {
            MessageBox.Show("选择成功!");
            this.Hide();
            ElectricityForm electricityForm = new ElectricityForm();
            electricityForm.Show();
        }
    }
}
